package org.ddd.book.domain;

import java.io.Serializable;

public interface IBaseEvent {
    /**
     * 唯一标识
     *
     * @return ID
     */
    Serializable id();

    /**
     * topic
     *
     * @return topic
     */
    EventType eventType();

    /**
     * tag
     *
     * @return tag
     */
    SubEventType subEventType();

}
